package com.smartfactory.sail.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合同付款情况
 * </p>
 *
 * @author 王巨壁
 * @since 2019-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("contract_paymentDetails")
@ApiModel(value="ContractPaymentdetails对象", description="合同付款情况")
public class ContractPaymentdetails implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "应付款时间")
    @TableField("payableDate")
    private String payableDate;

    @ApiModelProperty(value = "应付金额")
    @TableField("payableAmount")
    private Double payableAmount;

    @ApiModelProperty(value = "实付款时间")
    @TableField("disbursementsDate")
    private String disbursementsDate;

    @ApiModelProperty(value = "实付金额")
    @TableField("disbursementsAmount")
    private Double disbursementsAmount;

    @ApiModelProperty(value = "是否分期付款1是2不是")
    @TableField("isByStages")
    private Integer isByStages;

    @ApiModelProperty(value = "分期付款占比")
    @TableField("stagesNum")
    private Integer stagesNum;

    @ApiModelProperty(value = "付款占比")
    private Integer proportion;

    @ApiModelProperty(value = "收款人id")
    @TableField("payeeId")
    private Long payeeId;

    @ApiModelProperty(value = "收款方式1现金2全款3分期")
    @TableField("payType")
    private Integer payType;

    @ApiModelProperty(value = "付款的凭证图片id")
    @TableField("paymentVouchers")
    private Long paymentVouchers;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("createUser")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人名称")
    @TableField("updateUser")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    @TableField("updateTime")
    private LocalDateTime updateTime;


}
